<%= form_for :location, :url => {:action => "locationInsert"} do |f| %>

	<input type="hidden" name="url" value="<%= request.url %>"/>

	<div class="field">
		<% if flash[:notice] != nil %>
			<%= flash[:notice] %>
		<% end %>
		<% if flash[:warning] != nil %>
			<%= flash[:warning] %>
		<% end %>
	</div>
  <div class="field">
    <%= f.label :locationName %><br />
    <%= f.text_field :locationName %>
  </div>
  <div class="field">
    <%= f.label :locationDescription %><br />
    <%= f.text_field :locationDescription %>
  </div>
  <div class="field">
    <%= f.label :addressName %><br />
    <%= f.text_field :addressName %>
  </div>
  <div class="field">
    <%= f.label :addressLn1 %><br />
    <%= f.text_field :addressLn1 %>
  </div>
  <div class="field">
    <%= f.label :addressLn2 %><br />
    <%= f.text_field :addressLn2 %>
  </div>
  <div class="field">
    <%= f.label :city %><br />
    <%= f.text_field :city %>
  </div>
  <div class="field">
    <%= f.label :stateCode %><br />
    <%= f.text_field :stateCode %>
  </div>
  <div class="field">
    <%= f.label :zipCode %><br />
    <%= f.text_field :zipCode %>
  </div>
  <div class="actions">
    <%= f.submit %>
  </div>
<% end %>
